<template>
  <router-view></router-view>

  
  <van-tabbar v-model="active">
      <van-tabbar-item replace to="/admin/home" icon="home-o">首页</van-tabbar-item>
      <van-tabbar-item replace to="/admin/class" icon="search">分类</van-tabbar-item>
      <van-tabbar-item replace to="/cart" icon="friends-o">购物车</van-tabbar-item>
      <van-tabbar-item replace to="/admin/mine" icon="setting-o">我的</van-tabbar-item>
  </van-tabbar>
</template>
<script setup lang="ts">
import {ref} from 'vue'

const active = ref(0);


</script>